Skip to content

[Storage] Bump api-version 2025-08-01#33402

Draft
calvinhzy wants to merge 7 commits into
Azure:devfrom
calvinhzy:storage-bump-2025-08-01
Draft

[Storage] Bump api-version 2025-08-01#33402
calvinhzy wants to merge 7 commits into
Azure:devfrom
calvinhzy:storage-bump-2025-08-01

Conversation

@calvinhzy
Copy link
Copy Markdown
Member

@calvinhzy calvinhzy commented May 20, 2026

Related command

Description

AAZ for az storage share-rm create: Unhide --expand to support az storage share-rm snapshot Azure/aaz#1011

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@calvinhzy calvinhzy self-assigned this May 20, 2026
@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented May 20, 2026

❌AzureCLI-FullTest
🔄acr
🔄latest
🔄3.12
🔄3.13
🔄acs
🔄latest
🔄3.12
🔄3.13
🔄advisor
🔄latest
🔄3.12
🔄3.13
❌ams
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_ams_asset_track_create self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f7b60d804d0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f7b62e65ac0>
command = 'storage account keys list -n clitest000002 -g clitest.rg000001 --query "[0].value"'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/storage/operations/operations.py:7399: in list_keys
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_create.yaml(host='management.azure.com', port=443) at 0x7f7b602a7f20>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_create.yaml') in your current record mode ('once').
E               No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-08-01&$expand=kerb>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-06-01&$expand=kerb>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.12/site-packages/vcr/stubs/init.py:277: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.ams.tests.latest.test_ams_asset_track_scenarios.AmsAssetFilterTests testMethod=test_ams_asset_track_create>
storage_account_for_create = 'clitest000002'

    @ResourceGroupPreparer()
    @StorageAccountPreparer(parameter_name='storage_account_for_create')
    def test_ams_asset_track_create(self, storage_account_for_create):
        amsname = self.create_random_name(prefix='ams', length=12)
        outputContainer = self.create_random_name(prefix='output', length=14)
    
    
        self.kwargs.update({
            'amsname': amsname,
            'storageAccount': storage_account_for_create,
            'location': 'westeurope',
            'outputContainer': outputContainer,
            'assetTrackFilePath': get_test_data_file('assetTrack.ttml'),
            'assetTrackFileName': 'assetTrack.ttml',
            'sampleIsmFilePath': get_test_data_file('sampleIsmFile.ism'),
            'trackName': self.create_random_name(prefix='track', length=12)
        })
    
        self.cmd('az ams account create -n {amsname} -g {rg} --storage-account {storageAccount} -l {location}')
        self.cmd('az ams account storage add -a {amsname} -g {rg} -n {storageAccount}')
    
        outputAssetName = self.create_random_name(prefix='asset', length=12)
    
        self.kwargs.update({
            'outputAssetName': outputAssetName
        })
    
        self.cmd('az ams asset create -a {amsname} -n {outputAssetName} -g {rg} --container {outputContainer}')
    
        self.kwargs['storage_key'] = str(
>           self.cmd('az storage account keys list -n {storageAccount} -g {rg} --query "[0].value"').output)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:45: 
 
 
 
 
 
 
 
 
 
                               
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
                                       _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f7b60d804d0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f7b62e65ac0>
command = 'storage account keys list -n clitest000002 -g clitest.rg000001 --query "[0].value"'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_create.yaml') in your current record mode ('once').
E           No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-08-01&$expand=kerb>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-06-01&$expand=kerb>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:14
Failed test_ams_asset_track_delete The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:183
Failed test_ams_asset_track_list The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:126
Failed test_ams_asset_track_show The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:68
Failed test_ams_asset_track_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:248
❌3.13
Type Test Case Error Message Line
Failed test_ams_asset_track_create self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fca1221afd0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fca184e1d10>
command = 'storage account keys list -n clitest000002 -g clitest.rg000001 --query "[0].value"'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/mgmt/storage/operations/operations.py:7399: in list_keys
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.13/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.13/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.13/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.13/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_create.yaml(host='management.azure.com', port=443) at 0x7fca10a490f0>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_create.yaml') in your current record mode ('once').
E               No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-08-01&$expand=kerb>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-06-01&$expand=kerb>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.13/site-packages/vcr/stubs/init.py:277: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.ams.tests.latest.test_ams_asset_track_scenarios.AmsAssetFilterTests testMethod=test_ams_asset_track_create>
storage_account_for_create = 'clitest000002'

    @ResourceGroupPreparer()
    @StorageAccountPreparer(parameter_name='storage_account_for_create')
    def test_ams_asset_track_create(self, storage_account_for_create):
        amsname = self.create_random_name(prefix='ams', length=12)
        outputContainer = self.create_random_name(prefix='output', length=14)
    
    
        self.kwargs.update({
            'amsname': amsname,
            'storageAccount': storage_account_for_create,
            'location': 'westeurope',
            'outputContainer': outputContainer,
            'assetTrackFilePath': get_test_data_file('assetTrack.ttml'),
            'assetTrackFileName': 'assetTrack.ttml',
            'sampleIsmFilePath': get_test_data_file('sampleIsmFile.ism'),
            'trackName': self.create_random_name(prefix='track', length=12)
        })
    
        self.cmd('az ams account create -n {amsname} -g {rg} --storage-account {storageAccount} -l {location}')
        self.cmd('az ams account storage add -a {amsname} -g {rg} -n {storageAccount}')
    
        outputAssetName = self.create_random_name(prefix='asset', length=12)
    
        self.kwargs.update({
            'outputAssetName': outputAssetName
        })
    
        self.cmd('az ams asset create -a {amsname} -n {outputAssetName} -g {rg} --container {outputContainer}')
    
        self.kwargs['storage_key'] = str(
>           self.cmd('az storage account keys list -n {storageAccount} -g {rg} --query "[0].value"').output)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:45: 
 
 
 
 
 
 
 
 
 
                               
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
                                       _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fca1221afd0>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fca184e1d10>
command = 'storage account keys list -n clitest000002 -g clitest.rg000001 --query "[0].value"'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/ams/tests/latest/recordings/test_ams_asset_track_create.yaml') in your current record mode ('once').
E           No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-08-01&$expand=kerb>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2025-06-01&$expand=kerb>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:14
Failed test_ams_asset_track_delete The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:183
Failed test_ams_asset_track_list The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:126
Failed test_ams_asset_track_show The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:68
Failed test_ams_asset_track_update The error message is too long, please check the pipeline log for details. azure/cli/command_modules/ams/tests/latest/test_ams_asset_track_scenarios.py:248
🔄apim
🔄latest
🔄3.12
🔄3.13
🔄appconfig
🔄latest
🔄3.12
🔄3.13
🔄appservice
🔄latest
🔄3.12
🔄3.13
🔄aro
🔄latest
🔄3.12
🔄3.13
🔄backup
🔄latest
️✔️3.12
🔄3.13
❌batch
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_batch_general_arm_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:23
Failed test_batch_application_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:269
Failed test_batch_managed_identity_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:199
Failed test_batch_network_profile_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:163
Failed test_batch_privateendpoint_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:114
❌3.13
Type Test Case Error Message Line
Failed test_batch_general_arm_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:23
Failed test_batch_application_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:269
Failed test_batch_managed_identity_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:199
Failed test_batch_network_profile_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:163
Failed test_batch_privateendpoint_cmd The error message is too long, please check the pipeline log for details. azure/cli/command_modules/batch/tests/latest/test_batch_mgmt_commands.py:114
🔄batchai
🔄latest
🔄3.12
🔄3.13
🔄billing
🔄latest
🔄3.12
🔄3.13
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.13
🔄cdn
🔄latest
🔄3.12
🔄3.13
🔄cloud
🔄latest
🔄3.12
🔄3.13
🔄cognitiveservices
🔄latest
🔄3.12
🔄3.13
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.13
🔄computefleet
🔄latest
🔄3.12
🔄3.13
🔄config
🔄latest
🔄3.12
🔄3.13
🔄configure
🔄latest
🔄3.12
🔄3.13
🔄consumption
🔄latest
️✔️3.12
🔄3.13
️✔️container
️✔️latest
️✔️3.12
️✔️3.13
🔄containerapp
🔄latest
🔄3.12
🔄3.13
🔄core
🔄latest
🔄3.12
🔄3.13
🔄cosmosdb
🔄latest
🔄3.12
🔄3.13
🔄databoxedge
🔄latest
🔄3.12
🔄3.13
🔄dls
🔄latest
🔄3.12
🔄3.13
🔄dms
🔄latest
🔄3.12
🔄3.13
🔄eventgrid
🔄latest
🔄3.12
🔄3.13
🔄eventhubs
🔄latest
🔄3.12
🔄3.13
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.13
🔄find
🔄latest
🔄3.12
🔄3.13
❌hdinsight
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_hdinsight_application self = <azure.cli.testsdk.base.ExecutionResult object at 0x7ff2a5399610>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7ff2a5a0d8b0>
command = 'hdinsight create -n cli-000003 -g hdicli-000001 -l EastAsia -p Password1! -t spark --no-validation-timeout --storage-...000-000000000000/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/hdi-vn-0 --subnet default --version 5.1'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/hdinsight/custom.py:128: in create_cluster
    storage_account_endpoint = get_storage_account_endpoint(cmd, storage_account, is_wasb)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/hdinsight/util.py:155: in get_storage_account_endpoint
    storage_account = storage_client.storage_accounts.get_properties(
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/storage/operations/operations.py:6610: in get_properties
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/recordings/test_hdinsight_application.yaml(host='management.azure.com', port=443) at 0x7ff2a4ba3560>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/recordings/test_hdinsight_application.yaml') in your current record mode ('once').
E               No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdicli-000001/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-08-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdicli-000001/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-06-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.12/site-packages/vcr/stubs/init.py:277: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.hdinsight.tests.latest.test_hdinsight_commands.HDInsightClusterTests testMethod=test_hdinsight_application>
storage_account_info = ('hdicli000002', 'veryFakedStorageAccountKey==')

    @AllowLargeResponse()
    @ResourceGroupPreparer(name_prefix='hdicli-', location=location, random_name_length=12)
    @StorageAccountPreparer(name_prefix='hdicli', location=location, parameter_name='storage_account')
    def test_hdinsight_application(self, storage_account_info):
>       self.create_hdinsight_cluster(
            HDInsightClusterTests.wasb_arguments(storage_account_info),
            HDInsightClusterTests.with_explicit_ssh_creds(),
            HDInsightClusterTests.vnet_arguments()
        )

src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:242: 
 
 
 
 
 
 
 
 
 
 
 
                             
src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:719: in create_hdinsight_cluster
    self.cmd(create_cluster_format, checks=[
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
 
                                       

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7ff2a5399610>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7ff2a5a0d8b0>
command = 'hdinsight create -n cli-000003 -g hdicli-000001 -l EastAsia -p Password1! -t spark --no-validation-timeout --storage-...000-000000000000/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/hdi-vn-0 --subnet default --version 5.1'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/recordings/test_hdinsight_application.yaml') in your current record mode ('once').
E           No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdicli-000001/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-08-01>) was found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hdicli-000001/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-06-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:237
Failed test_hdinsight_autoscale_operation self = <azure.cli.testsdk.base.ExecutionResult object at 0x7ff2a5148110>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7ff2a58af8c0>
command = 'hdinsight create -n cli-000003 -g hdicli-000001 -l EastAsia -p Password1! -t spark --no-validation-timeout --storage-...000-000000000000/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/hdi-vn-0 --subnet default --version 5.1'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/hdinsight/custom.py:128: in create_cluster
    storage_account_endpoint = get_storage_account_endpoint(cmd, storage_account, is_wasb)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli/azure/cli/command_modules/hdinsight/util.py:155: in get_storage_account_endpoint
    storage_account = storage_client.storage_accounts.get_properties(
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/storage/operations/operations.py:6610: in get_properties
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/recordings/test_hdinsight_autoscale_operation.yaml(host='management.azure.com', port=443) at 0x7ff2a4e9c6b0>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/recordings/test_hdinsight_autoscale_operation.yaml') in your current record mode ('once').
E               No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-08-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-06-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.12/site-packages/vcr/stubs/init.py:277: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.hdinsight.tests.latest.test_hdinsight_commands.HDInsightClusterTests testMethod=test_hdinsight_autoscale_operation>
storage_account_info = ('hdicli000002', 'veryFakedStorageAccountKey==')

    @ResourceGroupPreparer(name_prefix='hdicli-', location=location, random_name_length=12)
    @StorageAccountPreparer(name_prefix='hdicli', location=location, parameter_name='storage_account')
    def test_hdinsight_autoscale_operation(self, storage_account_info):
>       self.create_hdinsight_cluster(
            HDInsightClusterTests.wasb_arguments(storage_account_info),
            HDInsightClusterTests.vnet_arguments()
        )

src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:507: 
 
 
 
 
 
 
 
 
 
 
                              
src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:719: in create_hdinsight_cluster
    self.cmd(create_cluster_format, checks=[
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
 
 
                                     _ 

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7ff2a5148110>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7ff2a58af8c0>
command = 'hdinsight create -n cli-000003 -g hdicli-000001 -l EastAsia -p Password1! -t spark --no-validation-timeout --storage-...000-000000000000/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/hdi-vn-0 --subnet default --version 5.1'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/hdinsight/tests/latest/recordings/test_hdinsight_autoscale_operation.yaml') in your current record mode ('once').
E           No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-08-01>) was found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/hdicli000002?api-version=2025-06-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:503
Failed test_hdinsight_azure_monitor The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:331
Failed test_hdinsight_cluster_kafka The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:47
Failed test_hdinsight_cluster_kafka_with_optional_disk_args The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:69
Failed test_hdinsight_cluster_min_args The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:21
Failed test_hdinsight_cluster_resize The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:29
Failed test_hdinsight_cluster_with_cluster_config The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:89
Failed test_hdinsight_cluster_with_component_version The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:80
Failed test_hdinsight_cluster_with_encryption_at_host The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:167
Failed test_hdinsight_cluster_with_encryption_in_transit The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:122
Failed test_hdinsight_cluster_with_loadbased_autoscale The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:136
Failed test_hdinsight_cluster_with_minimal_tls_version The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:108
Failed test_hdinsight_cluster_with_private_link_configurations The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:181
Failed test_hdinsight_cluster_with_schedulebased_autoscale The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:151
Failed test_hdinsight_cluster_with_ssh_creds The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:99
Failed test_hdinsight_create_with_entra_user The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:671
Failed test_hdinsight_create_with_wasb_and_msi The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:651
Failed test_hdinsight_monitor The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:287
Failed test_hdinsight_script_action The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:375
Failed test_hdinsight_update_system_and_user_assigned The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:631
Failed test_hdinsight_update_system_assigned The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:615
Failed test_hdinsight_update_user_assigned The error message is too long, please check the pipeline log for details. azure/cli/command_modules/hdinsight/tests/latest/test_hdinsight_commands.py:596
🔄3.13
🔄identity
🔄latest
🔄3.12
🔄3.13
🔄iot
🔄latest
🔄3.12
🔄3.13
❌keyvault
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_keyvault_hsm_full_backup_restore self = <azure.cli.testsdk.base.ExecutionResult object at 0x7f7b6126b500>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7f7b61e33650>
command = 'storage account generate-sas --start 2026-05-20T08:33:16Z --expiry 2026-05-20T09:33:16Z --https-only --permissions rwdlacu --resource-types sco --services b --account-name clitesthsmsa000003'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = RequiredArgumentMissingError('\n        Missing/Invalid credentials to access storage service. The following variation... variable); some shells will require\n                quoting to preserve literal character interpretation.\n        ')
args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception RequiredArgumentMissingError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.keyvault.tests.latest.test_keyvault_commands.KeyVaultHSMFullBackupRestoreScenarioTest testMethod=test_keyvault_hsm_full_backup_restore>
resource_group = 'cli_test_keyvault_hsm_full_backup000001'
managed_hsm = 'cli-test-hsm-bcup-000002', storage_account = 'clitesthsmsa000003'

    @serial_test()
    @ResourceGroupPreparer(name_prefix='cli_test_keyvault_hsm_full_backup')
    @ManagedHSMPreparer(name_prefix='cli-test-hsm-bcup-', certs_path=CERTS_DIR, roles=['Managed HSM Crypto Officer', 'Managed HSM Crypto User'])
    @StorageAccountPreparer(name_prefix='clitesthsmsa')
    @AllowLargeResponse()
    def test_keyvault_hsm_full_backup_restore(self, resource_group, managed_hsm, storage_account):
        self.kwargs.update({
            'hsm_url': f'https://{managed_hsm}.managedhsm.azure.net',
            'hsm_name': managed_hsm,
            'storage_account': storage_account,
            'blob': self.create_random_name('clitesthsmblob', 24),
            'sas_start': (datetime.utcnow() - timedelta(minutes=30)).strftime('%Y-%m-%dT%H:%M:%SZ'),
            'sas_expiry': (datetime.utcnow() + timedelta(minutes=30)).strftime('%Y-%m-%dT%H:%M:%SZ')
        })
        self.cmd('az storage container create -n {blob} --account-name {storage_account} -g {rg}')
    
>       self.kwargs['sas'] = '?' + self.cmd('az storage account generate-sas --start {sas_start} --expiry {sas_expiry} '
                                            '--https-only '
                                            '--permissions rwdlacu --resource-types sco --services b '
                                            '--account-name {storage_account}').get_output_in_json().replace('%3A', ':')

src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/test_keyvault_commands.py:739: 
 
                                       
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:315: in in_process_execute
    raise ex.exception
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
 
 
 
 
                                   _ 

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7f7b5f4fac30>
client = <azure.storage.blob._blob_service_client.BlobServiceClient object at 0x7f7b5f317cb0>
services = 'b'
resource_types = <azure.storage.blob._shared.models.ResourceTypes object at 0x7f7b5f4fb590>
permission = <azure.storage.blob._shared.models.AccountSasPermissions object at 0x7f7b5f317710>
expiry = '2026-05-20T09:33:16Z', start = '2026-05-20T08:33:16Z', ip = None
protocol = 'https', kwargs = {'encryption_scope': None}
RequiredArgumentMissingError = <class 'azure.cli.core.azclierror.RequiredArgumentMissingError'>
error_msg = '\n        Missing/Invalid credentials to access storage service. The following variations are accepted:\n            ...t variable); some shells will require\n                quoting to preserve literal character interpretation.\n        '

    def generate_sas(cmd, client, services, resource_types, permission, expiry, start=None,
                     ip=None, protocol=None, **kwargs):
        from azure.cli.core.azclierror import RequiredArgumentMissingError
        if not client.account_name or not client.credential or not client.credential.account_key:
            error_msg = """
            Missing/Invalid credentials to access storage service. The following variations are accepted:
                (1) account name and key (--account-name and --account-key options or
                    set AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY environment variables)
                (2) account name (--account-name option or AZURE_STORAGE_ACCOUNT environment variable;
                    this will make calls to query for a storage account key using login credentials)
                (3) connection string (--connection-string option or
                    set AZURE_STORAGE_CONNECTION_STRING environment variable); some shells will require
                    quoting to preserve literal character interpretation.
            """
>           raise RequiredArgumentMissingError(error_msg)
E           azure.cli.core.azclierror.RequiredArgumentMissingError: 
E                   Missing/Invalid credentials to access storage service. The following variations are accepted:
E                       (1) account name and key (--account-name and --account-key options or
E                           set AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY environment variables)
E                       (2) account name (--account-name option or AZURE_STORAGE_ACCOUNT environment variable;
E                           this will make calls to query for a storage account key using login credentials)
E                       (3) connection string (--connection-string option or
E                           set AZURE_STORAGE_CONNECTION_STRING environment variable); some shells will require
E                           quoting to preserve literal character interpretation.

src/azure-cli/azure/cli/command_modules/storage/operations/account.py:49: RequiredArgumentMissingError
azure/cli/command_modules/keyvault/tests/latest/test_keyvault_commands.py:722
❌3.13
Type Test Case Error Message Line
Failed test_keyvault_hsm_full_backup_restore self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fca10c53750>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fca13050b90>
command = 'storage account generate-sas --start 2026-05-20T08:34:03Z --expiry 2026-05-20T09:34:03Z --https-only --permissions rwdlacu --resource-types sco --services b --account-name clitesthsmsa000003'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.13/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
                                        

ex = RequiredArgumentMissingError('\n        Missing/Invalid credentials to access storage service. The following variation... variable); some shells will require\n                quoting to preserve literal character interpretation.\n        ')
args = (), kwargs = {}

    def handle_main_exception(ex, *args, **kwargs):  # pylint: disable=unused-argument
        if isinstance(ex, CannotOverwriteExistingCassetteException):
            # This exception usually caused by a no match HTTP request. This is a product error
            # that is caused by change of SDK invocation.
            raise ex
    
>       raise CliExecutionError(ex)
E       azure.cli.testsdk.exceptions.CliExecutionError: The CLI throws exception RequiredArgumentMissingError during execution and fails the command.

src/azure-cli-testsdk/azure/cli/testsdk/patches.py:35: CliExecutionError

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.keyvault.tests.latest.test_keyvault_commands.KeyVaultHSMFullBackupRestoreScenarioTest testMethod=test_keyvault_hsm_full_backup_restore>
resource_group = 'cli_test_keyvault_hsm_full_backup000001'
managed_hsm = 'cli-test-hsm-bcup-000002', storage_account = 'clitesthsmsa000003'

    @serial_test()
    @ResourceGroupPreparer(name_prefix='cli_test_keyvault_hsm_full_backup')
    @ManagedHSMPreparer(name_prefix='cli-test-hsm-bcup-', certs_path=CERTS_DIR, roles=['Managed HSM Crypto Officer', 'Managed HSM Crypto User'])
    @StorageAccountPreparer(name_prefix='clitesthsmsa')
    @AllowLargeResponse()
    def test_keyvault_hsm_full_backup_restore(self, resource_group, managed_hsm, storage_account):
        self.kwargs.update({
            'hsm_url': f'https://{managed_hsm}.managedhsm.azure.net',
            'hsm_name': managed_hsm,
            'storage_account': storage_account,
            'blob': self.create_random_name('clitesthsmblob', 24),
            'sas_start': (datetime.utcnow() - timedelta(minutes=30)).strftime('%Y-%m-%dT%H:%M:%SZ'),
            'sas_expiry': (datetime.utcnow() + timedelta(minutes=30)).strftime('%Y-%m-%dT%H:%M:%SZ')
        })
        self.cmd('az storage container create -n {blob} --account-name {storage_account} -g {rg}')
    
>       self.kwargs['sas'] = '?' + self.cmd('az storage account generate-sas --start {sas_start} --expiry {sas_expiry} '
                                            '--https-only '
                                            '--permissions rwdlacu --resource-types sco --services b '
                                            '--account-name {storage_account}').get_output_in_json().replace('%3A', ':')

src/azure-cli/azure/cli/command_modules/keyvault/tests/latest/test_keyvault_commands.py:739: 
 
                                       
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
src/azure-cli-testsdk/azure/cli/testsdk/base.py:315: in in_process_execute
    raise ex.exception
env/lib/python3.13/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
 
 
 
 
                                   _ 

cmd = <azure.cli.core.commands.AzCliCommand object at 0x7fca10ae7450>
client = <azure.storage.blob._blob_service_client.BlobServiceClient object at 0x7fca10980050>
services = 'b'
resource_types = <azure.storage.blob._shared.models.ResourceTypes object at 0x7fca10b323c0>
permission = <azure.storage.blob._shared.models.AccountSasPermissions object at 0x7fca1097fed0>
expiry = '2026-05-20T09:34:03Z', start = '2026-05-20T08:34:03Z', ip = None
protocol = 'https', kwargs = {'encryption_scope': None}
RequiredArgumentMissingError = <class 'azure.cli.core.azclierror.RequiredArgumentMissingError'>
error_msg = '\n        Missing/Invalid credentials to access storage service. The following variations are accepted:\n            ...t variable); some shells will require\n                quoting to preserve literal character interpretation.\n        '

    def generate_sas(cmd, client, services, resource_types, permission, expiry, start=None,
                     ip=None, protocol=None, **kwargs):
        from azure.cli.core.azclierror import RequiredArgumentMissingError
        if not client.account_name or not client.credential or not client.credential.account_key:
            error_msg = """
            Missing/Invalid credentials to access storage service. The following variations are accepted:
                (1) account name and key (--account-name and --account-key options or
                    set AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY environment variables)
                (2) account name (--account-name option or AZURE_STORAGE_ACCOUNT environment variable;
                    this will make calls to query for a storage account key using login credentials)
                (3) connection string (--connection-string option or
                    set AZURE_STORAGE_CONNECTION_STRING environment variable); some shells will require
                    quoting to preserve literal character interpretation.
            """
>           raise RequiredArgumentMissingError(error_msg)
E           azure.cli.core.azclierror.RequiredArgumentMissingError: 
E                   Missing/Invalid credentials to access storage service. The following variations are accepted:
E                       (1) account name and key (--account-name and --account-key options or
E                           set AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_KEY environment variables)
E                       (2) account name (--account-name option or AZURE_STORAGE_ACCOUNT environment variable;
E                           this will make calls to query for a storage account key using login credentials)
E                       (3) connection string (--connection-string option or
E                           set AZURE_STORAGE_CONNECTION_STRING environment variable); some shells will require
E                           quoting to preserve literal character interpretation.

src/azure-cli/azure/cli/command_modules/storage/operations/account.py:49: RequiredArgumentMissingError
azure/cli/command_modules/keyvault/tests/latest/test_keyvault_commands.py:722
🔄lab
🔄latest
🔄3.12
🔄3.13
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.13
🔄maps
🔄latest
️✔️3.12
🔄3.13
🔄marketplaceordering
🔄latest
🔄3.12
🔄3.13
🔄monitor
🔄latest
🔄3.12
🔄3.13
🔄mysql
🔄latest
️✔️3.12
🔄3.13
🔄netappfiles
🔄latest
️✔️3.12
🔄3.13
❌network
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_network_private_endpoint_asg self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fda76fc0890>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fda7fc9eb70>
command = 'storage account private-link-resource list --account-name asg000002 -g cli_test_network_private_endpoint_000001'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/storage/operations/operations.py:17168: in list_by_storage_account
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_asg.yaml(host='management.azure.com', port=443) at 0x7fda6fef03b0>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_asg.yaml') in your current record mode ('once').
E               No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002/privateLinkResources?api-version=2025-08-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002/privateLinkResources?api-version=2025-06-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.12/site-packages/vcr/stubs/init.py:277: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.network.tests.latest.test_network_commands.NetworkPrivateEndpoints testMethod=test_network_private_endpoint_asg>
storage_account = 'asg000002'

    @ResourceGroupPreparer(name_prefix="cli_test_network_private_endpoint
", location="eastus")
    @StorageAccountPreparer(name_prefix="asg", kind="StorageV2")
    def test_network_private_endpoint_asg(self, storage_account):
        self.kwargs.update({
            "sa": storage_account,
            "loc": "eastus",
            "vnet": self.create_random_name("vnet-", 24),
            "subnet": self.create_random_name("subnet-", 24),
            "pe": self.create_random_name("pe-", 24),
            "connection": self.create_random_name("connection-", 24),
            "asg1": "asg1",
            "asg2": "asg2",
        })
    
        # prepare network
        self.cmd("network vnet create -n {vnet} -l {loc} -g {rg} --address-prefixes 10.0.0.0/16 --subnet-name {subnet} --subnet-prefixes 10.0.0.0/24")
        self.cmd("network vnet subnet update -n {subnet} -g {rg} --vnet-name {vnet} --disable-private-endpoint-network-policies true")
    
        # create private endpoint connection
>       pl_resources = self.cmd("storage account private-link-resource list --account-name {sa} -g {rg}").get_output_in_json()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:236: 
 
 
 
 
 
 
                                  
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
 
                                       

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fda76fc0890>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fda7fc9eb70>
command = 'storage account private-link-resource list --account-name asg000002 -g cli_test_network_private_endpoint_000001'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_asg.yaml') in your current record mode ('once').
E           No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002/privateLinkResources?api-version=2025-08-01>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/asg000002/privateLinkResources?api-version=2025-06-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:216
Failed test_network_private_endpoint_ip_config self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fda74cf1d00>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fda8094be30>
command = 'storage account private-link-resource list --account-name ipconfig000002 -g cli_test_network_private_endpoint_000001'
expect_failure = False

    def in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
>           self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli-testsdk/azure/cli/testsdk/base.py:303: 
                                        
env/lib/python3.12/site-packages/knack/cli.py:245: in invoke
    exit_code = self.exception_handler(ex)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/init.py:157: in exception_handler
    return handle_exception(ex)
           ^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/patches.py:33: in handle_main_exception
    raise ex
env/lib/python3.12/site-packages/knack/cli.py:233: in invoke
    cmd_result = self.invocation.execute(args)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:677: in execute
    raise ex
src/azure-cli-core/azure/cli/core/commands/init.py:820: in run_jobs_serially
    results.append(self.run_job(expanded_arg, cmd_copy))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:789: in run_job
    result = cmd_copy(params)
             ^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/init.py:335: in call
    return self.handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-core/azure/cli/core/commands/command_operation.py:120: in handler
    return op(**command_args)
           ^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/tracing/decorator.py:119: in wrapper_use_tracer
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/storage/operations/operations.py:17168: in list_by_storage_account
    pipeline_response: PipelineResponse = self.client.pipeline.run(  # pylint: disable=protected-access
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:242: in run
    return first_node.send(pipeline_request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/mgmt/core/policies/base.py:95: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/redirect.py:205: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/retry.py:545: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/policies/authentication.py:194: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:98: in send
    response = self.next.send(request)
               ^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/base.py:130: in send
    self.sender.send(request.http_request, **request.context.options),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/azure/core/pipeline/transport/requests_basic.py:375: in send
    response = self.session.request(  # type: ignore
env/lib/python3.12/site-packages/requests/sessions.py:592: in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/sessions.py:706: in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
env/lib/python3.12/site-packages/requests/adapters.py:645: in send
    resp = conn.urlopen(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:788: in urlopen
    response = self.make_request(
env/lib/python3.12/site-packages/urllib3/connectionpool.py:534: in make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
             

self = <VCRRequestsHTTPSConnection/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_config.yaml(host='management.azure.com', port=443) at 0x7fda7426cda0>
 = False, kwargs = {}

    def getresponse(self, =False, **kwargs):
        """Retrieve the response"""
        # Check to see if the cassette has a response for this request. If so,
        # then return it
        if self.cassette.can_play_response_for(self.vcr_request):
            log.info(f"Playing response for {self.vcr_request} from cassette")
            response = self.cassette.play_response(self.vcr_request)
            return VCRHTTPResponse(response)
        else:
            if self.cassette.write_protected and self.cassette.filter_request(self.vcr_request):
>               raise CannotOverwriteExistingCassetteException(
                    cassette=self.cassette,
                    failed_request=self.vcr_request,
                )
E               vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/work/1/s/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_config.yaml') in your current record mode ('once').
E               No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002/privateLinkResources?api-version=2025-08-01>)&nbsp;was&nbsp;found.
E               Found 1 similar requests with 1 different matcher(s) :
E               
E               1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002/privateLinkResources?api-version=2025-06-01>).
E               Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E               Matchers failed :
E               custom_request_query_matcher - assertion failure :
E               None

env/lib/python3.12/site-packages/vcr/stubs/init.py:277: CannotOverwriteExistingCassetteException

During handling of the above exception, another exception occurred:

self = <azure.cli.command_modules.network.tests.latest.test_network_commands.NetworkPrivateEndpoints testMethod=test_network_private_endpoint_ip_config>
storage_account = 'ipconfig000002'

    @ResourceGroupPreparer(name_prefix="cli_test_network_private_endpoint
", location="eastus")
    @StorageAccountPreparer(name_prefix="ipconfig", kind="StorageV2")
    def test_network_private_endpoint_ip_config(self, storage_account):
        self.kwargs.update({
            "sa": storage_account,
            "loc": "eastus",
            "vnet": self.create_random_name("vnet-", 24),
            "subnet": self.create_random_name("subnet-", 24),
            "pe": self.create_random_name("pe-", 24),
            "connection": self.create_random_name("connection-", 24),
            "ipconfig1": "ipconfig1",
            "ipconfig2": "ipconfig2",
        })
    
        # prepare network
        self.cmd("network vnet create -n {vnet} -l {loc} -g {rg} --address-prefixes 10.0.0.0/16 --subnet-name {subnet} --subnet-prefixes 10.0.0.0/24")
        self.cmd("network vnet subnet update -n {subnet} -g {rg} --vnet-name {vnet} --disable-private-endpoint-network-policies true")
    
        # create private endpoint connection
>       pl_resources = self.cmd("storage account private-link-resource list --account-name {sa} -g {rg}").get_output_in_json()
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:171: 
 
 
 
 
 
 
                                  
src/azure-cli-testsdk/azure/cli/testsdk/base.py:177: in cmd
    return execute(self.cli_ctx, command, expect_failure=expect_failure).assert_with_checks(checks)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/azure-cli-testsdk/azure/cli/testsdk/base.py:252: in init
    self.in_process_execute(cli_ctx, command, expect_failure=expect_failure)
 
                                       

self = <azure.cli.testsdk.base.ExecutionResult object at 0x7fda74cf1d00>
cli_ctx = <azure.cli.core.mock.DummyCli object at 0x7fda8094be30>
command = 'storage account private-link-resource list --account-name ipconfig000002 -g cli_test_network_private_endpoint_000001'
expect_failure = False

    def _in_process_execute(self, cli_ctx, command, expect_failure=False):
        from io import StringIO
        from vcr.errors import CannotOverwriteExistingCassetteException
    
        if command.startswith('az '):
            command = command[3:]
    
        stdout_buf = StringIO()
        logging_buf = StringIO()
        try:
            # issue: stderr cannot be redirect in this form, as a result some failure information
            # is lost when command fails.
            self.exit_code = cli_ctx.invoke(shlex.split(command), out_file=stdout_buf) or 0
            self.output = stdout_buf.getvalue()
            self.applog = logging_buf.getvalue()
    
        except CannotOverwriteExistingCassetteException as ex:
>           raise AssertionError(ex)
E           AssertionError: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/network/tests/latest/recordings/test_network_private_endpoint_ip_config.yaml') in your current record mode ('once').
E           No match for the request (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002/privateLinkResources?api-version=2025-08-01>)&nbsp;was&nbsp;found.
E           Found 1 similar requests with 1 different matcher(s) :
E           
E           1 - (<Request (GET) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_network_private_endpoint_000001/providers/Microsoft.Storage/storageAccounts/ipconfig000002/privateLinkResources?api-version=2025-06-01>).
E           Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
E           Matchers failed :
E           _custom_request_query_matcher - assertion failure :
E           None

src/azure-cli-testsdk/azure/cli/testsdk/base.py:308: AssertionError
src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:151
Failed test_network_private_endpoint_private_dns_zone_group The error message is too long, please check the pipeline log for details. src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:283
Failed test_network_active_active_vnet_connection The error message is too long, please check the pipeline log for details. src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:7388
Failed test_network_vpn_gateway_package_capture The error message is too long, please check the pipeline log for details. src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:7666
Failed test_network_watcher_troubleshooting The error message is too long, please check the pipeline log for details. src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:8071
Failed test_network_private_endpoint_ip_version_type The error message is too long, please check the pipeline log for details. src/azure-cli/azure/cli/command_modules/network/tests/latest/test_network_commands.py:9612
Failed test_private_endpoint_connection_storage_account The error message is too long, please check the pipeline log for details. src/azure-cli/azure/cli/command_modules/network/tests/latest/test_private_endpoint_commands.py:301
🔄3.13
🔄policyinsights
🔄latest
🔄3.12
🔄3.13
🔄postgresql
🔄latest
🔄3.12
🔄3.13
🔄privatedns
🔄latest
🔄3.12
🔄3.13
🔄profile
🔄latest
🔄3.12
🔄3.13
🔄rdbms
🔄latest
️✔️3.12
🔄3.13
🔄redis
🔄latest
🔄3.12
🔄3.13
🔄relay
🔄latest
️✔️3.12
🔄3.13
🔄resource
🔄latest
🔄3.12
🔄3.13
🔄role
🔄latest
🔄3.12
🔄3.13
🔄search
🔄latest
🔄3.12
🔄3.13
🔄security
🔄latest
🔄3.12
🔄3.13
🔄servicebus
🔄latest
️✔️3.12
🔄3.13
❌serviceconnector
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_webapp_storageblob_secret_opt_out_config The error message is too long, please check the pipeline log for details. azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py:1660
Failed test_webapp_storageblob_secret_opt_out_public_network The error message is too long, please check the pipeline log for details. azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py:1656
Failed test_webapp_storageblob_secret_opt_out_public_network_and_config The error message is too long, please check the pipeline log for details. azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py:1652
❌3.13
Type Test Case Error Message Line
Failed test_webapp_storageblob_secret_opt_out_config The error message is too long, please check the pipeline log for details. azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py:1660
Failed test_webapp_storageblob_secret_opt_out_public_network The error message is too long, please check the pipeline log for details. azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py:1656
Failed test_webapp_storageblob_secret_opt_out_public_network_and_config The error message is too long, please check the pipeline log for details. azure/cli/command_modules/serviceconnector/tests/latest/test_webpp_connection_scenario.py:1652
🔄servicefabric
🔄latest
🔄3.12
🔄3.13
🔄signalr
🔄latest
🔄3.12
🔄3.13
🔄sql
🔄latest
🔄3.12
🔄3.13
❌sqlvm
❌latest
❌3.12
Type Test Case Error Message Line
Failed test_sqlvm_create_and_delete The error message is too long, please check the pipeline log for details. azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py:364
Failed test_sqlvm_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py:180
Failed test_sqlvm_group_mgmt The error message is too long, please check the pipeline log for details. azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py:556
Failed test_sqlvm_add_and_remove The error message is too long, please check the pipeline log for details. azure/cli/command_modules/sqlvm/tests/latest/test_sqlvm_commands.py:661
🔄3.13
🔄storage
🔄latest
🔄3.12
🔄3.13
🔄synapse
🔄latest
🔄3.12
🔄3.13
🔄telemetry
🔄latest
️✔️3.12
🔄3.13
🔄util
🔄latest
🔄3.12
🔄3.13
🔄vm
🔄latest
🔄3.12
🔄3.13

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @calvinhzy,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

azure-client-tools-bot-prd Bot commented May 20, 2026

❌AzureCLI-BreakingChangeTest
❌acr
rule cmd_name rule_message suggest_message
1007 - ParaRemove acr config content-trust update cmd acr config content-trust update removed parameter yes please add back parameter yes for cmd acr config content-trust update
⚠️ 1003 - CmdPropAdd acr check-health cmd acr check-health added property deprecate_info_target
⚠️ 1003 - CmdPropAdd acr config content-trust update cmd acr config content-trust update added property deprecate_info_target
⚠️ 1010 - ParaPropUpdate acr config content-trust update cmd acr config content-trust update update parameter status: updated property choices from ['disabled'] to ['disabled', 'enabled']
❌postgresql
rule cmd_name rule_message suggest_message
1008 - ParaPropAdd postgres flexible-server backup create cmd postgres flexible-server backup create update parameter backup_name: added property required=True please remove property required=True for parameter backup_name of cmd postgres flexible-server backup create
1010 - ParaPropUpdate postgres flexible-server backup create cmd postgres flexible-server backup create update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server backup create
1006 - ParaAdd postgres flexible-server backup delete cmd postgres flexible-server backup delete added parameter backup_name please remove parameter backup_name for cmd postgres flexible-server backup delete
1010 - ParaPropUpdate postgres flexible-server backup delete cmd postgres flexible-server backup delete update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server backup delete
1010 - ParaPropUpdate postgres flexible-server backup list cmd postgres flexible-server backup list update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server backup list
1006 - ParaAdd postgres flexible-server backup show cmd postgres flexible-server backup show added parameter backup_name please remove parameter backup_name for cmd postgres flexible-server backup show
1010 - ParaPropUpdate postgres flexible-server backup show cmd postgres flexible-server backup show update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server backup show
1010 - ParaPropUpdate postgres flexible-server db create cmd postgres flexible-server db create update parameter database_name: updated property options from ['--name', '-n'] to ['--database-name', '-d'] please change property options from ['--database-name', '-d'] to ['--name', '-n'] for parameter database_name of cmd postgres flexible-server db create
1010 - ParaPropUpdate postgres flexible-server db delete cmd postgres flexible-server db delete update parameter database_name: updated property options from ['--name', '-n'] to ['--database-name', '-d'] please change property options from ['--database-name', '-d'] to ['--name', '-n'] for parameter database_name of cmd postgres flexible-server db delete
1010 - ParaPropUpdate postgres flexible-server db show cmd postgres flexible-server db show update parameter database_name: updated property options from ['--name', '-n'] to ['--database-name', '-d'] please change property options from ['--database-name', '-d'] to ['--name', '-n'] for parameter database_name of cmd postgres flexible-server db show
1008 - ParaPropAdd postgres flexible-server firewall-rule create cmd postgres flexible-server firewall-rule create update parameter firewall_rule_name: added property required=True please remove property required=True for parameter firewall_rule_name of cmd postgres flexible-server firewall-rule create
1010 - ParaPropUpdate postgres flexible-server firewall-rule create cmd postgres flexible-server firewall-rule create update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server firewall-rule create
1006 - ParaAdd postgres flexible-server firewall-rule delete cmd postgres flexible-server firewall-rule delete added parameter firewall_rule_name please remove parameter firewall_rule_name for cmd postgres flexible-server firewall-rule delete
1010 - ParaPropUpdate postgres flexible-server firewall-rule delete cmd postgres flexible-server firewall-rule delete update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server firewall-rule delete
1010 - ParaPropUpdate postgres flexible-server firewall-rule list cmd postgres flexible-server firewall-rule list update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server firewall-rule list
1006 - ParaAdd postgres flexible-server firewall-rule show cmd postgres flexible-server firewall-rule show added parameter firewall_rule_name please remove parameter firewall_rule_name for cmd postgres flexible-server firewall-rule show
1010 - ParaPropUpdate postgres flexible-server firewall-rule show cmd postgres flexible-server firewall-rule show update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server firewall-rule show
1006 - ParaAdd postgres flexible-server firewall-rule update cmd postgres flexible-server firewall-rule update added parameter firewall_rule_name please remove parameter firewall_rule_name for cmd postgres flexible-server firewall-rule update
1010 - ParaPropUpdate postgres flexible-server firewall-rule update cmd postgres flexible-server firewall-rule update update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server firewall-rule update
1010 - ParaPropUpdate postgres flexible-server long-term-retention list cmd postgres flexible-server long-term-retention list update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server long-term-retention list
1006 - ParaAdd postgres flexible-server long-term-retention pre-check cmd postgres flexible-server long-term-retention pre-check added parameter backup_name please remove parameter backup_name for cmd postgres flexible-server long-term-retention pre-check
1010 - ParaPropUpdate postgres flexible-server long-term-retention pre-check cmd postgres flexible-server long-term-retention pre-check update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server long-term-retention pre-check
1006 - ParaAdd postgres flexible-server long-term-retention show cmd postgres flexible-server long-term-retention show added parameter backup_name please remove parameter backup_name for cmd postgres flexible-server long-term-retention show
1010 - ParaPropUpdate postgres flexible-server long-term-retention show cmd postgres flexible-server long-term-retention show update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server long-term-retention show
1006 - ParaAdd postgres flexible-server long-term-retention start cmd postgres flexible-server long-term-retention start added parameter backup_name please remove parameter backup_name for cmd postgres flexible-server long-term-retention start
1010 - ParaPropUpdate postgres flexible-server long-term-retention start cmd postgres flexible-server long-term-retention start update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server long-term-retention start
1006 - ParaAdd postgres flexible-server migration check-name-availability cmd postgres flexible-server migration check-name-availability added parameter migration_name please remove parameter migration_name for cmd postgres flexible-server migration check-name-availability
1010 - ParaPropUpdate postgres flexible-server migration check-name-availability cmd postgres flexible-server migration check-name-availability update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server migration check-name-availability
1008 - ParaPropAdd postgres flexible-server migration create cmd postgres flexible-server migration create update parameter migration_name: added property required=True please remove property required=True for parameter migration_name of cmd postgres flexible-server migration create
1010 - ParaPropUpdate postgres flexible-server migration create cmd postgres flexible-server migration create update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server migration create
1010 - ParaPropUpdate postgres flexible-server migration list cmd postgres flexible-server migration list update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server migration list
1006 - ParaAdd postgres flexible-server migration show cmd postgres flexible-server migration show added parameter migration_name please remove parameter migration_name for cmd postgres flexible-server migration show
1010 - ParaPropUpdate postgres flexible-server migration show cmd postgres flexible-server migration show update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server migration show
1006 - ParaAdd postgres flexible-server migration update cmd postgres flexible-server migration update added parameter migration_name please remove parameter migration_name for cmd postgres flexible-server migration update
1010 - ParaPropUpdate postgres flexible-server migration update cmd postgres flexible-server migration update update parameter server_name: updated property options from ['--server-name', '-s'] to ['--name', '-n'] please change property options from ['--name', '-n'] to ['--server-name', '-s'] for parameter server_name of cmd postgres flexible-server migration update
⚠️ 1013 - SubgroupPropAdd postgres flexible-server backup sub group postgres flexible-server backup added property deprecate_info_target
⚠️ 1006 - ParaAdd postgres flexible-server backup create cmd postgres flexible-server backup create added parameter backup_name
⚠️ 1004 - CmdPropRemove postgres flexible-server backup create cmd postgres flexible-server backup create removed property deprecate_info_target
⚠️ 1010 - ParaPropUpdate postgres flexible-server backup create cmd postgres flexible-server backup create update parameter backup_name: updated property id_part from child_name_1 to name
⚠️ 1010 - ParaPropUpdate postgres flexible-server backup create cmd postgres flexible-server backup create update parameter backup_name: updated property name from backup_name to server_name
⚠️ 1010 - ParaPropUpdate postgres flexible-server backup delete cmd postgres flexible-server backup delete update parameter backup_name: updated property id_part from child_name_1 to name
⚠️ 1010 - ParaPropUpdate postgres flexible-server backup delete cmd postgres flexible-server backup delete update parameter backup_name: updated property name from backup_name to server_name
⚠️ 1010 - ParaPropUpdate postgres flexible-server backup show cmd postgres flexible-server backup show update parameter backup_name: updated property id_part from child_name_1 to name
⚠️ 1010 - ParaPropUpdate postgres flexible-server backup show cmd postgres flexible-server backup show update parameter backup_name: updated property name from backup_name to server_name
⚠️ 1013 - SubgroupPropAdd postgres flexible-server db sub group postgres flexible-server db added property deprecate_info_target
⚠️ 1009 - ParaPropRemove postgres flexible-server db create cmd postgres flexible-server db create update parameter database_name: removed property required=True
⚠️ 1009 - ParaPropRemove postgres flexible-server db delete cmd postgres flexible-server db delete update parameter database_name: removed property required=True
⚠️ 1013 - SubgroupPropAdd postgres flexible-server firewall-rule sub group postgres flexible-server firewall-rule added property deprecate_info_target
⚠️ 1006 - ParaAdd postgres flexible-server firewall-rule create cmd postgres flexible-server firewall-rule create added parameter firewall_rule_name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule create cmd postgres flexible-server firewall-rule create update parameter firewall_rule_name: updated property id_part from child_name_1 to name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule create cmd postgres flexible-server firewall-rule create update parameter firewall_rule_name: updated property name from firewall_rule_name to server_name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule delete cmd postgres flexible-server firewall-rule delete update parameter firewall_rule_name: updated property id_part from child_name_1 to name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule delete cmd postgres flexible-server firewall-rule delete update parameter firewall_rule_name: updated property name from firewall_rule_name to server_name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule show cmd postgres flexible-server firewall-rule show update parameter firewall_rule_name: updated property id_part from child_name_1 to name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule show cmd postgres flexible-server firewall-rule show update parameter firewall_rule_name: updated property name from firewall_rule_name to server_name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule update cmd postgres flexible-server firewall-rule update update parameter firewall_rule_name: updated property id_part from child_name_1 to name
⚠️ 1010 - ParaPropUpdate postgres flexible-server firewall-rule update cmd postgres flexible-server firewall-rule update update parameter firewall_rule_name: updated property name from firewall_rule_name to server_name
⚠️ 1008 - ParaPropAdd postgres flexible-server long-term-retention pre-check cmd postgres flexible-server long-term-retention pre-check update parameter backup_name: added property id_part=name
⚠️ 1010 - ParaPropUpdate postgres flexible-server long-term-retention pre-check cmd postgres flexible-server long-term-retention pre-check update parameter backup_name: updated property name from backup_name to server_name
⚠️ 1008 - ParaPropAdd postgres flexible-server long-term-retention show cmd postgres flexible-server long-term-retention show update parameter backup_name: added property id_part=name
⚠️ 1010 - ParaPropUpdate postgres flexible-server long-term-retention show cmd postgres flexible-server long-term-retention show update parameter backup_name: updated property name from backup_name to server_name
⚠️ 1008 - ParaPropAdd postgres flexible-server long-term-retention start cmd postgres flexible-server long-term-retention start update parameter backup_name: added property id_part=name
⚠️ 1010 - ParaPropUpdate postgres flexible-server long-term-retention start cmd postgres flexible-server long-term-retention start update parameter backup_name: updated property name from backup_name to server_name
⚠️ 1013 - SubgroupPropAdd postgres flexible-server migration sub group postgres flexible-server migration added property deprecate_info_target
⚠️ 1008 - ParaPropAdd postgres flexible-server migration check-name-availability cmd postgres flexible-server migration check-name-availability update parameter migration_name: added property id_part=name
⚠️ 1010 - ParaPropUpdate postgres flexible-server migration check-name-availability cmd postgres flexible-server migration check-name-availability update parameter migration_name: updated property name from migration_name to server_name
⚠️ 1006 - ParaAdd postgres flexible-server migration create cmd postgres flexible-server migration create added parameter migration_name
⚠️ 1008 - ParaPropAdd postgres flexible-server migration create cmd postgres flexible-server migration create update parameter migration_name: added property id_part=name
⚠️ 1010 - ParaPropUpdate postgres flexible-server migration create cmd postgres flexible-server migration create update parameter migration_name: updated property name from migration_name to server_name
⚠️ 1008 - ParaPropAdd postgres flexible-server migration show cmd postgres flexible-server migration show update parameter migration_name: added property id_part=name
⚠️ 1010 - ParaPropUpdate postgres flexible-server migration show cmd postgres flexible-server migration show update parameter migration_name: updated property name from migration_name to server_name
⚠️ 1008 - ParaPropAdd postgres flexible-server migration update cmd postgres flexible-server migration update update parameter migration_name: added property id_part=name
⚠️ 1010 - ParaPropUpdate postgres flexible-server migration update cmd postgres flexible-server migration update update parameter migration_name: updated property name from migration_name to server_name
⚠️ 1006 - ParaAdd postgres flexible-server replica create cmd postgres flexible-server replica create added parameter replica_name
⚠️ 1009 - ParaPropRemove postgres flexible-server replica create cmd postgres flexible-server replica create update parameter name: removed property id_part=name
⚠️ 1009 - ParaPropRemove postgres flexible-server replica create cmd postgres flexible-server replica create update parameter name: removed property required=True
⚠️ 1010 - ParaPropUpdate postgres flexible-server replica promote cmd postgres flexible-server replica promote update parameter name: updated property name from name to replica_name
❌storage
rule cmd_name rule_message suggest_message
1007 - ParaRemove storage account local-user list cmd storage account local-user list removed parameter maxpagesize please add back parameter maxpagesize for cmd storage account local-user list
1007 - ParaRemove storage container immutability-policy show cmd storage container immutability-policy show removed parameter if_match please add back parameter if_match for cmd storage container immutability-policy show
⚠️ 1010 - ParaPropUpdate storage account create cmd storage account create update parameter access_tier: updated property choices from ['Cold', 'Cool', 'Hot', 'Premium'] to ['Cold', 'Cool', 'Hot', 'Premium', 'Smart']
⚠️ 1009 - ParaPropRemove storage account create cmd storage account create update parameter immutability_policy_state: removed property choices=['Disabled', 'Locked', 'Unlocked']
⚠️ 1009 - ParaPropRemove storage account create cmd storage account create update parameter public_network_access: removed property choices=['Disabled', 'Enabled', 'SecuredByPerimeter']
⚠️ 1010 - ParaPropUpdate storage account update cmd storage account update update parameter access_tier: updated property choices from ['Cold', 'Cool', 'Hot', 'Premium'] to ['Cold', 'Cool', 'Hot', 'Premium', 'Smart']
⚠️ 1009 - ParaPropRemove storage account update cmd storage account update update parameter immutability_policy_state: removed property choices=['Disabled', 'Locked', 'Unlocked']
⚠️ 1009 - ParaPropRemove storage account update cmd storage account update update parameter public_network_access: removed property choices=['Disabled', 'Enabled', 'SecuredByPerimeter']
⚠️ 1006 - ParaAdd storage container immutability-policy show cmd storage container immutability-policy show added parameter etag
⚠️ 1006 - ParaAdd storage container immutability-policy show cmd storage container immutability-policy show added parameter match_condition

Please submit your Breaking Change Pre-announcement ASAP if you haven't already. Please note:

  • Breaking changes can only be merged during the designated breaking change window
  • A pre-announcement must be released at least one month in advance

For more details on how to introduce breaking changes, refer to the documentation: azure-cli/doc/how_to_introduce_breaking_changes.md

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 20, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@calvinhzy
Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 3 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants